﻿<Window x:Class="SoftWareBoot.Window_StartSetting"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" 
        Height="140" 
        Width="300" 
        Background="Transparent"
        WindowStyle="None"
        WindowStartupLocation="CenterScreen"
        FocusManager.FocusedElement="{Binding ElementName=Txt_Url}"
        AllowsTransparency="True" >

    <Border CornerRadius="8,8,8,8"  BorderThickness="1" BorderBrush="DarkSlateGray">
        <Border CornerRadius="8,8,8,8" Margin="2,0,2,2">
            <GroupBox Header="程序升级启动配置">
                <Grid Margin="10,10,10,3">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="30*" />
                        <RowDefinition Height="30*" />
                        <RowDefinition Height="40*" />
                    </Grid.RowDefinitions>
                    <DockPanel Grid.Row="0" LastChildFill="True">
                        <TextBlock DockPanel.Dock="Left" VerticalAlignment="Center" Text="升级地址："/>
                        <TextBox Name="Txt_Url" DockPanel.Dock="Left" VerticalAlignment="Center" Keyboard.PreviewKeyUp="Txt_Url_PreviewKeyUp" />
                    </DockPanel>
                    <DockPanel Grid.Row="1" LastChildFill="True">
                        <TextBlock DockPanel.Dock="Left" VerticalAlignment="Center" Text="项目名称："/>
                        <ComboBox Name="Cmb_PrjName" DockPanel.Dock="Left" VerticalAlignment="Center"/>
                    </DockPanel>
                    <DockPanel Margin="0,10,0,0" Grid.Row="3" LastChildFill="true">
                        <Button Name="Btn_Cancel" Click="Btn_Cancel_Click" Content="取  消"  Padding="20,2" Height="24" DockPanel.Dock="Right" VerticalAlignment="Center"/>
                        <Button Name="Btn_Set" Click="Btn_Set_Click" Content="确  定" Margin="5,0,5,0" Padding="20,2" Height="24" DockPanel.Dock="Right" VerticalAlignment="Center"/>
                        <ProgressBar Name="ProgBar_Wait" Style="{x:Null}" IsIndeterminate="True" Visibility="Hidden" Height="20" VerticalAlignment="Center" SmallChange="5" Maximum="10" />
                    </DockPanel>
                </Grid>
            </GroupBox>
        </Border>
        
        
    </Border>
</Window>
